package c.c.a;

import android.content.Context;
import android.content.Intent;
import android.os.IBinder;
import android.os.IInterface;
import c.c.a.k1.b;

public final class z0 extends q0<l1> {

    public class a implements b<l1, String> {
        public a(z0 z0Var) {
        }

        public Object a(IBinder iBinder) {
            int i = c.c.a.l1.a.a;
            if (iBinder == null) {
                return null;
            }
            IInterface queryLocalInterface = iBinder.queryLocalInterface("com.zui.deviceidservice.IDeviceidInterface");
            if (queryLocalInterface == null || !(queryLocalInterface instanceof l1)) {
                return new c.c.a.l1.a.a(iBinder);
            }
            return (l1) queryLocalInterface;
        }

        public Object a(Object obj) {
            l1 l1Var = (l1) obj;
            if (l1Var == null) {
                return null;
            }
            return l1Var.a();
        }
    }

    public z0() {
        super("com.zui.deviceidservice");
    }

    public b<l1, String> a() {
        return new a(this);
    }

    public Intent c(Context context) {
        Intent intent = new Intent();
        intent.setClassName("com.zui.deviceidservice", "com.zui.deviceidservice.DeviceidService");
        return intent;
    }
}
